export class CfgItemBase { }

export class CfgBase<T extends CfgItemBase> {
    data: { [key: number]: T } = {}

    get(id: number) {
        return this.data[id]
    }

    getAll() {
        return this.data
    }
}